﻿//  -------------------- iSharePoint -------------------- //
// 
//  Company:	IT Complex, LLC
//  Project:	Smart.Common
//  File name:	XmlRulesService.cs
//  Developer:	Solomatov Igor
//  Created:	15.04.2012
// 
//  -------------------- iSharePoint -------------------- //

namespace Smart.Common.Rules
{
	/// <summary>
	/// Xml rules service
	/// </summary>
	public class XmlRulesService : RulesService
	{
		/// <summary>
		/// Xml rules executor
		/// </summary>
		public override RuleExecutor CreateExecutor()
		{
			return new XmlRuleExecutor(Ctx);
		}

		/// <summary>
		/// Xml rules checker
		/// </summary>
		public override RuleChecker CreateChecker()
		{
			return new XmlRuleChecker(Ctx);
		}

		/// <summary>
		/// Xml rules source
		/// </summary>
		public override RulesSource CreateSource()
		{
			return new XmlRulesSource(Ctx);
		}
	}
}